package com.lw.servicebase.profile;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.crazycake.shiro.AuthCachePrincipal;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Set;

@Data
public class ProfileResult implements Serializable , AuthCachePrincipal {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "用户头像")
    private String salt;

    //拥有角色
    private Set<String> roles;

    @Override
    public String getAuthCacheKey() {
        return null;
    }
}
